package com.github.easyms.web.controller;

import com.github.easyms.common.util.RequestHelper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;

/**
 * @author Leo.Liao
 * @Description:
 * @date 2020-04-08 16:34:54
 */
@Controller
public class IndexController {

    /**
     * 登陆页
     * @return
     */
    @GetMapping("/")
    public String index(){
        return "redirect:/h5/index.html";
    }

    /**
     * 登陆页
     * @return
     */
    @GetMapping("/main")
    public String main(){
        return "redirect:/h5/module/main.html";
    }



}
